<template>
	<view class="tixian">
		<view class="list">
			<view class="bg"></view>
			<view class="" style="padding: 0 20rpx;">
				<view class="list_con" v-for="item in list" :key="item.id">
					<view class="list_top">
						<view class="title">地区：{{item.areaName}}</view>
						<view class="add">状态：{{item.status}}</view>
					</view>
					<view class="list_top">
						<view class="time">时间：{{item.time}}</view>
					</view>
					<view class="list_top">
						<view class="time">备注：{{item.context}}</view>
					</view>
				</view>
				
				
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:'物流',
				list:[],
				id:0
			}
		},
		onLoad(options) {
			this.id=options.id;
			this.getinfo();
		},
		methods: {
			getinfo(){
				var that=this;
				this.$http.get('/user/wuliu',{'id':that.id}).
				then(function (response) {
					that.list=response.data;
				}).catch(function (error) {
					console.log(error);
				});
			}
		}
	}
</script>

<style scoped lang="scss">
	.tixian{
		width: 100%;
		.header{
			position: fixed;
			top: (var(--window-top) + 0rpx);
			left: 0;
			background-color: #284179;
			width: 100%;
			padding: 70rpx 0 100rpx 0;
			color: #FFFFFF;
			height: 100rpx;
			align-items: center;
			justify-content: space-between;
			z-index: 5;
			display: flex;
			.h_top{
				padding: 0 20rpx;
				box-sizing: border-box;
				.num{
					font-size: 50rpx;
				}
				.zhi{
					font-size: 28rpx;
				}
			}
			.tx_btn{
				margin-right: 20rpx;
				width: 180rpx;
				height: 56rpx;
				text-align: center;
				border-radius: 3px;
				line-height: 56rpx;
				background-color: #FFFFFF;
				color: #454545;
				font-size: 30rpx;
			}
			.lists{
				width: 50%;
				height: 100%;
				display: flex;
				align-items: center;
				padding-left: 30rpx;
				box-sizing: border-box;
				&.link{
					position: relative;
					&::after{
						content: "";
						position: absolute;
						width: 1px;
						height: 80rpx;
						background: #d6dadd;
						top: 50%;
						transform: translateY(-50%);
						right: 0;
					}
				}
				.icon{
					display: block;
					width: 48rpx;
					height: 48rpx;
				}
				.name{
					font-size: 26rpx;
					color: #7d7b7b;
					margin-left: 20rpx;
				}
				.money{
					font-size: 26rpx;
					color: #030304;
					margin-left: 20rpx;
				}
				.btn{
					width: 150rpx;
					height: 60rpx;
					background: #284179;
					text-align: center;
					line-height: 60rpx;
					border-radius: 30rpx;
					box-shadow: 0 1px 5px 3px #dcdcdc;
					font-size: 34rpx;
					color: #fff;
					margin-right: 60rpx;
				}
			}
		}
		.list{
			position: absolute;
			top: 0rpx;
			width: 100%;
			.bg{
				width: 100%;
				height: 30rpx;
				border-radius: 30rpx 30rpx 0 0;
				background-color: #FFFFFF;
				position: fixed;
				z-index: 10;
			}
			.list_con{
				padding: 25rpx 0 15rpx 0;
				border-bottom: 1px solid #ebebeb;
				.list_top{
					height: 60rpx;
					align-items: center;
					display: flex;
					justify-content: space-between;
					.title{
						width: 500rpx;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;
						color: #363636;
						font-size: 36rpx;
					}
					.add{
						color: #f53a3a;
						font-size: 30rpx;
					}
					.add1{
						color: #129b12;
						font-size: 30rpx;
					}
					.time{
						color: #979797;
						font-size: 30rpx;
					}
				}
			}
		}
	}
.layer_box{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	background: rgba(0,0,0,0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	.layer_ct{
		width: 540rpx;
		background: #fff;
		border-radius: 10rpx;
		padding-top: 50rpx;
		.tit{
			text-align: center;
			font-size: 36rpx;
			color: #454545;
			margin-bottom: 40rpx;
		}
		.form_input{
			padding: 0 50rpx;
			margin-bottom: 30rpx;
			.l_text{
				height: 50rpx;
				line-height: 50rpx;
				font-size: 30rpx;
				color: #454545;
				margin-bottom: 10rpx;
			}
			.input_box{
				display: flex;
				.input{
					flex: 1;
					overflow: hidden;
					height: 80rpx;
					background: #eeeeee;
					border-radius: 5rpx;
					font-size: 28rpx;
					padding-left: 30rpx;
				}
				.btn{
					width: 180rpx;
					height: 80rpx;
					border-radius: 5rpx;
					text-align: center;
					line-height: 80rpx;
					background: #284179;
					font-size: 28rpx;
					color: #fff;
					margin-left:30rpx;
				}
			}
		}
		.footer_btn{
			height: 100rpx;
			display: flex;
			position: relative;
			width: 100%;
			border-top: 1px solid #eeeeee;
			margin-top: 50rpx;
			
			.btn{
				width: 100%;
				text-align: center;
				line-height: 100rpx;
				font-size: 30rpx;
				color: #a5a5a5;
				&.color{
					color: #284179;
				}
			}
		}
	}
}
</style>
